package com.kyl.constant;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "用户表缓存常量", description = "用户表缓存常量")
public class UserCacheConstant {

    @ApiModelProperty(value = "用户缓存前缀")
    public static final String PREFIX = "user:";

    @ApiModelProperty(value = "用户缓存基础变量值")
    public static final String BASIC = PREFIX + "basic";

    @ApiModelProperty(value = "用户缓存锁")
    public static final String LOCK_PREFIX = PREFIX + "lock:";

    @ApiModelProperty(value = "用户缓存分页")
    public static final String PAGE = PREFIX + "page";

    @ApiModelProperty(value = "用户缓存列表")
    public static final String LIST = PREFIX + "list";

    @ApiModelProperty(value = "用户登录")
    public static final String LOGIN = PREFIX + "login";

    @ApiModelProperty(value = "用户token")
    public static final String USER_TOKEN = PREFIX + "user-token:";

    @ApiModelProperty(value = "用户JWT")
    public static final String JWT_TOKEN = PREFIX + "jwt-token:";

}
